import request from "../utils/request";

interface LoginType {
  userName: string;
  passWord: string;
}

export default{
    //登陆接口
    login(data: LoginType){
        return request.post("/login", data);
    },
    // 首页信息
    Index(){
      return request.get("/Index/index");
    }
}
